<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">

  <xi:include href="master.html" />

<head>
  	<script type="text/javascript">
	function redirect(address)
	{
	window.location = address;
	}
	</script>

  <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
  <title>Altera Pa&iacute;s: ${paisVar.codigo}</title>
</head>

<body>
	<h2>Altera Pa&iacute;s:</h2>
		<div>
			<form name="teste" action="/do_update" method="post">
		        <p>
			        <b>Codigo:</b> <input type="text" name="codigoPais" value="${paisVar.codigo}"/><br/>
			        <b>Descricao:</b> <input type="text" name="descricao" value="${paisVar.descricao}"/><br/>
			        <b>Codigo Auxiliar:</b> <input type="text" name="codigoAuxiliar" value="${paisVar.codigoAuxiliar}"/><br/>
			        <b>Valor:</b> <input type="text" name="valor" value="${paisVar.valor}"/><br/>
			        <!-- <b>Outro:</b> <input type="text" name="outro" value=""/><br/> -->
			        ${paisVar.unidadeFederativaCollection[0].codigo}
		        </p>
		        <input type="submit" name="submit" value="Salvar"/>
		        <input type="button" name="submit" value="Incluir" onclick="redirect('/includepais')"/>
	        </form>
	    </div>
</body>
</html>